import './polyfills.ts';

import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

if (environment.production) {/*如果是生产环境关闭开发这模式*/
  enableProdMode();
}

/*启动应用挂载点, */
platformBrowserDynamic().bootstrapModule(AppModule)
  .catch(err => console.log(err));
